﻿using System.Collections.Generic;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using Moq;

namespace TwinsTests.Classes.Tests.Hanlder.Tests
{
    public class CreaterBlock
    {
        public IBlock CreateBlock(List<ICSharpStatement> expressionStatements)
        {
            var block = new Mock<IBlock>();
            block.Setup(m => m.Statements).Returns(expressionStatements);
            return block.Object;
        } 
    }
}